home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 January / PCWorld_2002-01_cd.bin / Novinky / Becher / 1. Zlaty Kalich / ZlatyKalich.exe / scripts / DefineButton2_1162 / BUTTONCONDACTION on(release).as next >
Text File  |  2001-11-12  |  294b  |  16 lines

  1. on(release){
  2.    _root.stopdragall();
  3.    if(_root.poz == "x" || _root.poz == "d")
  4.    {
  5.       _root.pepa.gotoAndPlay("de");
  6.    }
  7.    else if(_root.poz == "b")
  8.    {
  9.       _root.pepa.gotoAndPlay("be");
  10.    }
  11.    else if(_root.poz == "c")
  12.    {
  13.       _root.pepa.gotoAndPlay("ce");
  14.    }
  15. }
  16.